package com.dieusoft.box.info.service.impl;

import com.dieusoft.box.info.entity.JzxDefaultCostDetails;
import com.dieusoft.box.info.mapper.JzxDefaultCostDetailsMapper;
import com.dieusoft.box.info.service.IJzxDefaultCostDetailsService;
import org.springframework.stereotype.Service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 集装箱标准费用
 * @Author: jeecg-boot
 * @Date: 2020-10-16
 * @Version: V1.0
 */
@Service
public class JzxDefaultCostDetailsServiceImpl extends ServiceImpl<JzxDefaultCostDetailsMapper, JzxDefaultCostDetails> implements IJzxDefaultCostDetailsService {

    @Autowired
    private JzxDefaultCostDetailsMapper jzxDefaultCostDetailsMapper;

    @Override
    public List<JzxDefaultCostDetails> selectByMainId(String mainId) {
        return jzxDefaultCostDetailsMapper.selectByMainId(mainId);
    }

    @Override
    public List<JzxDefaultCostDetails> selectCostNameByMainId(String mainId, String costName) {
        return jzxDefaultCostDetailsMapper.selectCostNameByMainId(mainId, costName);
    }
}
